package ldh.im.monitor.pojo;

import java.util.Date;

public class ImMonitorUser {

    private String mobile;
    private String token;
    private String maskPassword;
    private Date updateTime;

    public String getMobile() {
        return mobile;
    }

    public void setMobile(String mobile) {
        this.mobile = mobile;
    }

    public String getToken() {
        return token;
    }

    public void setToken(String token) {
        this.token = token;
    }

    public String getMaskPassword() {
        return maskPassword;
    }

    public void setMaskPassword(String maskPassword) {
        this.maskPassword = maskPassword;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    @Override
    public boolean equals(Object obj) {
        if (obj == null) return false;
        if(!(obj instanceof ImMonitorUser)) return false;
        ImMonitorUser imMonitorUser = (ImMonitorUser) obj;
        return imMonitorUser.getMobile().equals(this.getMobile());
    }
}
